package com.yt.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 订单评价DTO
 *
 * @author yzz
 * @Date 2025-09-15 14:06:29
 */
@Data
@TableName("work_order_evaluation")
@ApiModel(value="订单评价对象", description="订单评价对象")
public class WorkOrderEvaluationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "工单ID")
    private Long workOrderId;
    @ApiModelProperty(value = "评价用户ID")
    private Long customerId;
    @ApiModelProperty(value = "员工ID")
    private Long userId;
    @ApiModelProperty(value = "星级（1-5）")
    private Integer starRating;
    @ApiModelProperty(value = "评价内容·")
    private String content;
    @ApiModelProperty(value = "是否有效评价（0无效，1有效）")
    private Integer isValid;
}